package com.liming.user.service.impl;

import com.liming.aftersales.client.AfterSalesClient;
import com.liming.common.pojo.dto.aftersales.ProductReviewPage;
import com.liming.common.pojo.vo.PageVO;
import com.liming.common.pojo.vo.review.MiniProductCommentVO;
import com.liming.common.pojo.vo.review.MiniProductReviewVO;
import com.liming.user.service.AfterSalesService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author liming
 * @date 2025/3/23
 */
@Slf4j
@Service
@AllArgsConstructor
public class AfterSalesServiceImpl implements AfterSalesService {

    private final AfterSalesClient afterSalesClient;

    @Override
    public MiniProductReviewVO productReview(ProductReviewPage page) {
        return afterSalesClient.miniPageProductReviews(page);
    }
}
